package org.kca.yarmour;

import org.kca.graphics.*;
import org.kca.yarmour.data.*;
import org.kca.yarmour.view.*;

public class ArmourGame extends MainFrame
{
    private GameState gameState;
    
    public ArmourGame()
    {
        gameState = new GameState();
        try
        {
            gameState.init();
            MapScreen mapScreen = new MapScreen(this, gameState);
            setController(mapScreen);
        }
        catch (YAException e)
        {
            e.printStackTrace();
            System.exit(0);
        }
    }
    
}
